projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca3688f
)
(image-type-header-regexps): Recognize xbm more strictly.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 5 Jan 2007 22:54:07 +0000
(22:54 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 5 Jan 2007 22:54:07 +0000
(22:54 +0000)
lisp/image.el
patch
|
blob
|
history
diff --git
a/lisp/image.el
b/lisp/image.el
index e70b9ec539eac40e934362210dd6a6a76310486a..a98ca87f7280c9021b41e933c0a485a88cd8bf08 100644
(file)
--- a/
lisp/image.el
+++ b/
lisp/image.el
@@
-38,7
+38,9
@@
("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm)
("\\`GIF8" . gif)
("\\`\x89PNG\r\n\x1a\n" . png)
- ("\\`[\t\n\r ]*#define" . xbm)
+ ("\\`[\t\n\r ]*#define \\([a-z0-9]+\\)_width [0-9]+\n\
+#define \\1_height [0-9]+\n\
+static char \\1_bits" . xbm)
("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff)
("\\`[\t\n\r ]*%!PS" . postscript)
("\\`\xff\xd8" . (image-jpeg-p . jpeg)))